#ifndef _CREATE_MODEL_H_
#define _CREATE_MODEL_H_

#include <iostream>
#include <string.h>

#include <stdlib.h>
#include <stdio.h>

class CCreateModel
{
 public:
    CView modelview;

    //CreateModel parameters
    int select;
    IplImage *w;
    //CvMat *XYZi;

    int angpos, angneg;

 public:
 CCreateModel(CvSize size, CView &view) : modelview(view) 
    {
	select = 0;
	w = cvCreateImage(size, IPL_DEPTH_8U, 3);
	//XYZi = cvCreateMat(3,1,CV_32F);
    } 
	
    ~CCreateModel()
    {
	//cvReleaseMat(&XYZi);
	cvReleaseImage(&w);
    }    
};






#endif
